<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
         pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<h3>Ingrese el precio del Articulo :</h3>
<form>
    <select id="articulo">
        <c:forEach items="${Articulos}" var="articulo" varStatus="status">
            <option value="${articulo.idarticulo}">${articulo.nombre}</option>
        </c:forEach>
    </select>
    <br />
    <label for="precio">Precio :</label>
    <input type="text" name="precio" id="precio" />
    <br />
    <br />
    <input type="button" value="Guardar"
                  onclick="javascript:addArticuloPrecio(articulo.value, precio.value,${lista});" />
    <input type="button" value="Cancelar"
                  onclick="javascript:adminListaPrecios();" />
    <br />
</form>
